package com.syni.mdd.sjb.community.base.entity.bo;

import lombok.Data;

@Data
public class LoginInfoBo {
    public static final int USER_TYPE_1 = 1; //企业微信创建者
    private String errcode;
    private Integer usertype;
    private UserInfo user_info;
    private CorpInfo corp_info;

    @Data
    public static class UserInfo{
         private String userid;
         private String open_userid;
         private String name;
         private String avatar;
    }

    @Data
    public static class CorpInfo{
        private String corpid;
    }
}
